package testCasalib 
{
	import org.casalib.display.CasaMovieClip;
	import org.casalib.util.DateUtil;
	
	/**
	 * ...
	 * @author ...
	 */
	public class date extends CasaMovieClip 
	{
		
		public function date() 
		{
			trace(DateUtil.formatDate(new Date(), "l ^t^h^e dS ^of F Y h:i:s A"));
			
			var countdown:Object = DateUtil.getCountdownUntil(new Date(2006, 11, 31, 21, 36), new Date(2007, 0, 1));
			trace("There are " + countdown.hours + " hours and " + countdown.minutes + " minutes until the new year!");
		}
		
	}

}